/* *{
    margin: 0;
    padding: 0;
}
.sidebar{
    position: fixed;
    top: 50%;
    left: 1%;
    transform: translateY(-50%);
    z-index: 10;
    width: 300px;
    height: 95vh;
    background: linear-gradient(-90deg, #4481eb 0, #04befe 100%);
    border-radius: 30px;
    transition: 0.6s ease-in-out;
}
#app>svg{
    position: fixed;
    top: 0%;
    left: 0;
    z-index: 9;
}
.profile{
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
}
.nickname{
    position: absolute;
    top: 130px;
    left: 50%;
    transform: translateX(-50%);
    color: #FFF;
    font-size: 17px;
    font-weight: bold;
}
.nav_list{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: absolute;
    top: 200px;
}
.nav_item{
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: left;
    flex-direction: row;
    margin: 5px 0;
    padding: 15px 0;
    cursor: pointer;
    position: relative;
}
.hover{
    width: 0;
    height: 60px;
    transition: 0.5s;
    background-color: #4481eb;
    z-index: -1;
    position: absolute;
    left: 0;
    top: 0;
}
.nav_item:hover>.hover{
    width: 100%;
}
.nav_item>svg{
    padding-left: 25%;
}
.nav_item>p{
    padding-left: 30px;
    font-size: 17px;
    font-weight: bold;
    color: #FFF;
}
.sidebar_close{
    position: absolute;
    right: 15px;
    top: 15px;
}
.panel{
    width: 65%;
    height: 95vh;
    position: absolute;
    top: 2.5%;
    left: 17.5%;
}
.logout{
    position: absolute;
    bottom: 10px;
} */
 /* Base reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fa;
    color: #333;
}

#app {
    display: flex;
    min-height: 100vh;
}

/* Sidebar styling */
.sidebar {
    width: 280px;
    background: linear-gradient(-180deg, #4481eb 0, #04befe 100%);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    left: 0;
    top: 0;
}

/* User profile section */
.user {
    text-align: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.profile:hover {
    transform: scale(1.05);
}

.nickname {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 1rem;
    font-weight: 500;
}

/* Navigation menu */
.nav_list {
    margin-top: 2rem;
    flex: 1;
}

.nav_item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1rem;
    margin: 0.3rem 0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav_item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.nav_item svg {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.nav_item p {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 400;
}

/* Hover effect */
.hover {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav_item:hover .hover {
    opacity: 1;
}

/* Logout button */
.logout {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
}

.logout:hover {
    background: rgba(255, 0, 0, 0.1);
}

/* Main content panel */
.panel {
    flex: 1;
    margin-left: 280px;
    /* padding: 2rem; */
    border-radius: 20px;
    margin: 1rem;
    margin-left: 300px;
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .sidebar {
        width: 240px;
    }
    
    .panel {
        margin-left: 260px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 200px;
    }
    
    .panel {
        margin-left: 220px;
    }
    
    .profile {
        width: 80px;
        height: 80px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav_item {
    animation: fadeIn 0.3s ease forwards;
    animation-delay: calc(var(--index) * 0.1s);
    opacity: 0;
}

/* Custom scrollbar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}